<template>
	<view class="page">
		<image src="../../static/img/logo.png" mode=""></image>
		<view class="bot">
			<view class="footer-bot">小象通信APP</view>
			<view class="footer-bot1">你好，欢迎使用小象通信</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		created() {
			this.onload()
		},
		methods:{
			onload(){
				var iccid =  uni.getStorageSync('iccid')
				let timer = setTimeout(() => {
					if(iccid){
						this.$utils.switchTab('/pages/index/index')		
					}else{
						uni.redirectTo({
							url: '/pages/login/index'
						})
					}
				}, 1500)
			}
		}
	}
</script>

<style lang="scss" scoped>
.page{
	text-align: center;
	position: relative;
	height:100vh;
	image{
		margin-top:322upx;
		width: 416upx;
		height: 416upx;
	}
	.bot{
		position: absolute;
		bottom:100upx;
		text-align: center;
		width:100%;
		.footer-bot{
			color: #646668;
			font-size:28upx;
		}
		.footer-bot1{
			color: #999999;
			font-size:24upx;
		}
	}
}
</style>